package com.example.demo.designPatternsTest;

/**
 * @author lilinchun
 * @date 2023/5/22 0022 18:15

 * 续航增强装饰器
 **/
public class RunLongDecorate extends WulingDecorate {
    public RunLongDecorate(WulingNewEngeryCar wulingNewEngeryCar) {
        super(wulingNewEngeryCar);
    }

    @Override
    void run() {
        super.run();
        System.out.println("续航增强");
    }

}